import platform = require("./platform/common/baseCommon");
import appCommon = require("./platform/common/appCommon");
import appClient = require('./platform/client/appClient');

// let clientApp: appCommon.application = require('./project/test/config/client/fsgsweb/appConfig').defaultObject;
// let clientApp: appCommon.application = require('./project/test/config/client/mobileapp/appConfig').defaultObject;
// let clientApp: appCommon.application = require('./project/test/config/client/webapp/appConfig').defaultObject;
// let clientApp: appCommon.application = require('./project/test/config/client/smartReportApp/appConfig').defaultObject;
// let clientApp: appCommon.application = require('./project/test/config/client/interactivePlatformOfBankTax/appConfig').defaultObject;
let clientApp: appCommon.application = require('./project/dataAnalysis/gsDataAnalysis/config/client/appConfig').defaultObject;

let loggerFactory = new appClient.remoteFactory(platform.baseLogger, "remoteCall", "fileLogService");
// let logger = <platform.baseLogger>loggerFactory.getValue();
// logger.log(new Date(), "测试一下服务器远程调用", "information");

// 启动客户端
appClient.startClient(clientApp, () => {
    // platform.logToServer("测试一下服务器日志", "information");
});
